package com.sysh.entity;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.sysh.util.*;

/**
 * ClassName:  <br/>
 * Function: 首页具体显示美食详细内容<br/>
 * date: 2018年01月17日  <br/>
 *
 * @author 苏积钰
 * @since JDK 1.8
 */
public class Features implements Serializable{

    private Integer featureId;//主键
    private String featureImg;//图片路径
    private String featureUrl;//图片路径
    private String featureName;//图片名称
    private Date featureTime;//更新时间
    //转换之后的时间，可用于前端显示
    private String featureDate;


    private String feateureIcon;//星级评价图片路径
    private String featureVal;//图片内容详解
    private Integer featureEvaluateNumber;//美食评价数量

    public Features(Integer featureId, String featureImg, String featureUrl, String featureName, Date featureTime, String feateureIcon, String featureVal, Integer featureEvaluateNumber) {
        this.featureId = featureId;
        this.featureImg = featureImg;
        this.featureUrl = featureUrl;
        this.featureName = featureName;
        this.featureTime = featureTime;
        this.feateureIcon = feateureIcon;
        this.featureVal = featureVal;
        this.featureEvaluateNumber = featureEvaluateNumber;
    }

    public Features() {
        super();
    }


    public Integer getFeatureId() {
        return featureId;
    }

    public void setFeatureId(Integer featureId) {
        this.featureId = featureId;
    }

    public String getFeatureImg() {
        return featureImg;
    }

    public void setFeatureImg(String featureImg) {
        this.featureImg = featureImg;
    }

    public String getFeatureUrl() {
        return featureUrl;
    }

    public void setFeatureUrl(String featureUrl) {
        this.featureUrl = featureUrl;
    }

    public String getFeatureName() {
        return featureName;
    }

    public void setFeatureName(String featureName) {
        this.featureName = featureName;
    }

    public Date getFeatureTime() {



        return featureTime;
    }

    public void setFeatureTime(Date featureTime) {
        this.featureTime = featureTime;
    }

    public String getFeateureIcon() {
        return feateureIcon;
    }

    public void setFeateureIcon(String feateureIcon) {
        this.feateureIcon = feateureIcon;
    }

    public String getFeatureVal() {
        return featureVal;
    }

    public void setFeatureVal(String featureVal) {
        this.featureVal = featureVal;
    }

    public Integer getFeatureEvaluateNumber() {
        return featureEvaluateNumber;
    }

    public void setFeatureEvaluateNumber(Integer featureEvaluateNumber) {
        this.featureEvaluateNumber = featureEvaluateNumber;
    }

    public String getFeatureDate() {
        //this.featureTime=featureTime;

        return featureDate;
    }

    public void setFeatureDate(String featureDate) {
        this.featureDate = featureDate;
    }

    @Override
    public String toString() {
        return "Features{" +
                "featureId=" + featureId +
                ", featureImg='" + featureImg + '\'' +
                ", featureUrl='" + featureUrl + '\'' +
                ", featureName='" + featureName + '\'' +
                ", featureTime=" + featureTime +
                ", featureDate='" + featureDate + '\'' +
                ", feateureIcon='" + feateureIcon + '\'' +
                ", featureVal='" + featureVal + '\'' +
                ", featureEvaluateNumber=" + featureEvaluateNumber +
                '}';
    }
}
